package qq2564874169.tuaotuao.fx.utils;

public class IfUtil {
    public static <T> T firstNotNull(T... args) {
        for (T i : args) {
            if (i != null) {
                return i;
            }
        }
        return null;
    }
}
